package com.dlc.felear.xiaoensale.entity;

import com.dlc.felear.xiaoensale.utils.UuidUtil;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.List;

@DatabaseTable(tableName = "t_menu")
public class CookingMenu implements Serializable {
    @DatabaseField(columnName = "id", id = true)
    private String id;
    /**
     * 设备Id
     */
    @DatabaseField(columnName = "mac_no")
    private String macNo;
    /**
     * 创建时间
     */
    @DatabaseField(columnName = "c_time")
    private String createTime;
    /**
     * 更新时间
     */
    @DatabaseField(columnName = "u_time")
    private String updateTime;
    /**
     * 菜谱名称
     */
    @DatabaseField(columnName = "org_name")
    private String orgName;
    /**
     * 菜谱名称
     */
    @DatabaseField(columnName = "name")
    private String name;
    /**
     * 菜谱名称
     */
    @DatabaseField(columnName = "level")
    private String level;
    /**
     * 描述
     */
    @DatabaseField(columnName = "desc")
    private String desc;
    /**
     * 菜谱分类名
     */
    @DatabaseField(columnName = "menu_main_food")
    private String menuMainFood;
    /**
     * 菜谱分类Id
     */
    @DatabaseField(columnName = "menu_main_food_id")
    private String menuMainFoodId;
    /**
     * 时长
     */
    @DatabaseField(columnName = "duration")
    private int duration;
    /**
     * 菜谱图片
     */
    @DatabaseField(columnName = "pic")
    private String pic;
    /**
     * 规格（即重量）
     */
    @DatabaseField(columnName = "specification")
    private String specification;
    /**
     * 菜谱类别
     */
    @DatabaseField(columnName = "main_foods")
    private String mainFoods;
    @DatabaseField(columnName = "machineModoel")
    private String machineModoel;
    /**
     * 是否上传
     */
    @DatabaseField(columnName = "uploaded")
    private int uploaded;
    /**
     * 类别
     */
    @DatabaseField
    private int type;
    @DatabaseField
    private String param1;
    @DatabaseField
    private String param2;
    @DatabaseField
    private String param3;
    @DatabaseField
    private String param4;
    private List<String> typeData;
    /**
     * 焖菜 炒菜
     */
    @DatabaseField
    private int cookingType;
    private boolean isSelect;
    private String category;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    public String getParam1() {
        return param1;
    }

    public void setParam1(String param1) {
        this.param1 = param1;
    }

    public String getParam2() {
        return param2;
    }

    public void setParam2(String param2) {
        this.param2 = param2;
    }

    public String getParam3() {
        return param3;
    }

    public void setParam3(String param3) {
        this.param3 = param3;
    }

    public String getParam4() {
        return param4;
    }

    public void setParam4(String param4) {
        this.param4 = param4;
    }

    public int getCookingType() {
        return cookingType;
    }

    public void setCookingType(int cookingType) {
        this.cookingType = cookingType;
    }

    public String getMachineModoel() {
        return machineModoel;
    }

    public void setMachineModoel(String machineModoel) {
        this.machineModoel = machineModoel;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    private List<Operator> operators;
    private List<MenuFoodMaterial> foodMaterials;

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public List<Operator> getOperators() {
        return operators;
    }

    public void setOperators(List<Operator> operators) {
        this.operators = operators;
    }

    public List<MenuFoodMaterial> getFoodMaterials() {
        return foodMaterials;
    }

    public void setFoodMaterials(List<MenuFoodMaterial> foodMaterials) {
        this.foodMaterials = foodMaterials;
    }

    public int getUploaded() {
        return uploaded;
    }

    public void setUploaded(int uploaded) {
        this.uploaded = uploaded;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getMacNo() {
        return macNo;
    }

    public void setMacNo(String macNo) {
        this.macNo = macNo;
    }

    public List<String> getTypeData() {
        return typeData;
    }

    public void setTypeData(List<String> typeData) {
        this.typeData = typeData;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public CookingMenu() {
        id = UuidUtil.getUuid();
    }


    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getMenuMainFood() {
        return menuMainFood;
    }

    public void setMenuMainFood(String menuMainFood) {
        this.menuMainFood = menuMainFood;
    }

    public String getMenuMainFoodId() {
        return menuMainFoodId;
    }

    public void setMenuMainFoodId(String menuMainFoodId) {
        this.menuMainFoodId = menuMainFoodId;
    }

    public String getMainFoods() {
        return mainFoods;
    }

    public void setMainFoods(String mainFoods) {
        this.mainFoods = mainFoods;
    }
}
